#ifndef SMSSOCKETREADEROBSERVER_H
#define SMSSOCKETREADEROBSERVER_H

// INCLUDES 
#include <e32std.h>

// LIBS

// CAPS
// None

// FORWARD DECLARATIONS

// CLASS DECLARATION
/**
 * MSmsSocketReaderObserver interface class.
 * MSmsSocketReaderObserver declaration.
 * 
 */
class MSmsSocketReaderObserver
    {
    public: // New functions
        
        /**
         * HandleErrorL()
         * Handles error messages.
         * @param aError Error code.
         * @param aErrorMessage Error message, empty by default.
         */
        virtual void HandleErrorL( const TInt aError,
                const TDesC& aErrorMessage = KNullDesC ) = 0;
        
        /**
         * MessageReceivedL()
         * Handles receiving of new sms message.
         * @param aMessage Text of the received message.
         * @param aNumber Number of the sender.
         */
        virtual void MessageReceivedL( const TDesC& aMessage, 
                const TDesC& aNumber ) = 0;
    };

#endif // SMSSOCKETREADEROBSERVER_H
